package vn.orderonline.core.dao.member;

import java.util.List;

import vn.orderonline.core.dao.common.GenericDao;
import vn.orderonline.core.dao.entity.Member;
import vn.orderonline.core.redis.RedisMember;

public interface MemberDao extends GenericDao<Member, Integer> {
	
	public RedisMember getRedisMemberByUsername(String username);
	
	public RedisMember getRedisMemberByEmail(String memberEmail);
	
	public Boolean checkExistedEmail(String email);
	
	public Boolean checkExistedUsername(String username);
	
	public List<RedisMember> search(String username, String email, String name, String phoneNumber, String wardName);
		
}
